﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MpSoft.Library.BUSS;
using MpSoft.Library.CommonLibrary;
using MpSoft.Library.DTO;

namespace MpSoft.Web.AdminCP
{
    public partial class Default : System.Web.UI.Page
    {
        #region var

        private string controlName = string.Empty;

        #endregion

        #region Method

        private void BindControl()
        {
            LoadModules.ControlName = controlName;
            TitlePages.ControlName = controlName;
            Navigation1.ControlName = controlName;
        }

        #endregion

        #region Event
       
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.QueryString["mod"] != null)
                controlName = Request.QueryString["mod"].ToString();
            BindControl();
        }

        #endregion

        #region Properties

        public string ControlName { get { return controlName; } }

        #endregion
    }
}
